<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<!--http://139.199.89.239:1008/88414687-3b91-4286-89ba-2dc813b107ce-->
    <h1 th:text="${mess}" ></h1>
<h1 th:text="${session.user}"></h1>

    <table border="1" align="center" width="80%">
        <tr>
            <td>图片</td>
            <td>编号</td>
            <td>姓名</td>
            <td>性别</td>
            <td>入职时间</td>
        </tr>
        <tr th:each="e,i:${items}">
            <td >
                <img th:src="|images/${e.pwd}|" />
            </td>
            <td th:text="*{e.eid}"></td>
            <td  >[[*{e.ename}]]</td>
            <td th:text="${#maps.containsKey(e,'sex')?e.sex:''}"></td>
            <td th:text="*{#dates.format(e.date, 'yyyy-MM-dd HH:mm')}"></td>
        </tr>
    </table>

</body>
</html>